package com.qf.mxbc.service.impl;

import com.qf.mxbc.mapper.ImgMapper;
import com.qf.mxbc.pojo.Img;
import com.qf.mxbc.service.ImgService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ImgServericeimpl implements ImgService {
         @Resource
         private ImgMapper imgMapper;

        @Override
        public List<Img> getImgByType(Integer type) {
            return imgMapper.queryImgByType(type);
        }
}
